Optimal. Leaf size=16 \[ a x-\frac{a \cos (e+f x)}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0082288, antiderivative size = 16, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1, Rules used = {2638} \[ a x-\frac{a \cos (e+f x)}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2638
Rubi steps
\begin{align*} \int (a+a \sin (e+f x)) \, dx &=a x+a \int \sin (e+f x) \, dx\\ &=a x-\frac{a \cos (e+f x)}{f}\\ \end{align*}
Mathematica [A] time = 0.0064691, size = 27, normalized size = 1.69 \[ \frac{a \sin (e) \sin (f x)}{f}-\frac{a \cos (e) \cos (f x)}{f}+a x \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 17, normalized size = 1.1 \begin{align*} ax-{\frac{\cos \left ( fx+e \right ) a}{f}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.12515, size = 22, normalized size = 1.38 \begin{align*} a x - \frac{a \cos \left (f x + e\right )}{f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.02352, size = 38, normalized size = 2.38 \begin{align*} \frac{a f x - a \cos \left (f x + e\right )}{f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.158875, size = 19, normalized size = 1.19 \begin{align*} a x + a \left (\begin{cases} - \frac{\cos{\left (e + f x \right )}}{f} & \text{for}\: f \neq 0 \\x \sin{\left (e \right )} & \text{otherwise} \end{cases}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.29333, size = 23, normalized size = 1.44 \begin{align*} a x - \frac{a \cos \left (f x + e\right )}{f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]